<template>
  <div class="warehouseRow">
    <warehouseRowItem
      v-for="(item, index) in children"
      :key="item.nodeId"
      :isFirstRow="isFirstRow"
      v-bind="item"
    ></warehouseRowItem>
  </div>
</template>

<script setup>
import warehouseRowItem from "./warehouseRowItem.vue"
const props = defineProps({
  children: {
    type: Array,
  },
  isFirstRow: {
    type: Boolean,
    default: false,
  },
})
</script>

<style scoped>
.warehouseRow {
  display: flex;
}
</style>
